const sync.dequeueBits
8 uses
sync (current package)
poolqueue.go#L51: const dequeueBits = 32
poolqueue.go#L58: const dequeueLimit = (1 << dequeueBits) / 4
poolqueue.go#L66: const mask = 1<<dequeueBits - 1
poolqueue.go#L67: head = uint32((ptrs >> dequeueBits) & mask)
poolqueue.go#L73: const mask = 1<<dequeueBits - 1
poolqueue.go#L74: return (uint64(head) << dequeueBits) |
poolqueue.go#L83: if (tail+uint32(len(d.vals)))&(1<<dequeueBits-1) == head {
poolqueue.go#L105: atomic.AddUint64(&d.headTail, 1<<dequeueBits)
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |